2 Scenarios > 2.2 Basic initialization > 2.2.2 Recommended basic initialization

2.2.2
This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropri­ate buttons on the toolbar.
2.2.2.1
This chapter lists basic settings we recommend to initialize each time the module is restarted:
•
Choose the format of result codes for mobile equipment errors. By factory default (AT+CMEE=0), simply “ERROR” will be returned. For better error detection, we recom­mend to select either the numeric format (AT+CMEE=1) or the extended text format (AT+CMEE=2).
Most of the applications will rather use the numeric format since parsing numeric values is easier. For testing and debugging, at earlier stages of development, the text format might be more effective to evaluate the product design. For the same reason the examples pre­sented in this document are based on the setting AT+CMEE=2.
•
Set the format of result codes for incoming call indication. By factory default (AT+CRC=0), each incoming call will simply be notified via “RING”. AT+CRC=1 enables the extended for­mat of ring indication “+CRING: <text>”, where <text> identifies the type of incoming call, such as VOICE, REL ASYNC, FAX or GPRS.
•
Activate hardware flow control with AT\Q3. Hardware flow control is required for circuit switched data (including fax) and packet switched data (GPRS) connections, for proper operation of CYCLIC SLEEP modes and for Multiplex mode.
The settings of the three commands can be stored to the user profile with AT&W. This way the preferred settings will be loaded each time the module is restarted, eliminating the need to send each command after restart.
2.2.2.2
For further details about the commands see [2].
2.2.2.3
Figure 6: Recommended basic initialization
2.2.2.4
•
2.2.2.5
***************************************
Comment: Recommended basic initialization
***************************************
***************************************
Comment: Enable the extended error result code
***************************************
 
Subscr 1 Send: AT+CMEE=2
Subscr 1 Receive: AT+CMEE=2
Subscr 1 Receive: OK
 
***************************************
Comment: Set Cellular Result Codes for incoming call indication
***************************************
 
Subscr 1 Send: AT+CRC=1
Subscr 1 Receive: AT+CRC=1
Subscr 1 Receive: OK
 
***************************************
Comment: Set hardware flow control for data calls, fax calls, GPRS connections, MUX mode
***************************************
 
Subscr 1 Send: AT\Q3
Subscr 1 Receive: AT\Q3
Subscr 1 Receive: OK